package com.itheima.reggie.service;


import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;

import javax.servlet.http.HttpServletRequest;

public interface EmployeeService{


    R pageEmployee(int page, int pageSize, String name);

    void loginOut(HttpServletRequest request);

    R login(HttpServletRequest request, Employee employee);

    R saveEmployee(HttpServletRequest request,Employee employee);

    int changeStatus(Employee employee, HttpServletRequest request);

    Employee getEmpById(Long id);
}
